package com.sunny.pojo;

import java.util.Date;

public class User {
    private Integer id;

    private String name;

    private String password;

    private String email;

    private Integer roleNo;

    private Integer status;

    private String question;

    private String answer;

    private String phone;

    private Integer effect;

    private Date createTime;

    private String creTime;

    private Date updateTime;

    private String updaTime;

    public User(Integer id, String name, String password, String email, Integer roleNo, Integer status, String question, String answer, String phone, Integer effect, Date createTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
        this.roleNo = roleNo;
        this.status = status;
        this.question = question;
        this.answer = answer;
        this.phone = phone;
        this.effect = effect;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getCreTime() {
        return creTime;
    }

    public void setCreTime(String creTime) {
        this.creTime = creTime;
    }

    public String getUpdaTime() {
        return updaTime;
    }

    public void setUpdaTime(String updaTime) {
        this.updaTime = updaTime;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getRoleNo() {
        return roleNo;
    }

    public void setRoleNo(Integer roleNo) {
        this.roleNo = roleNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getEffect() {
        return effect;
    }

    public void setEffect(Integer effect) {
        this.effect = effect;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}